package com.skt.domain.DTO.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

// 联系信息请求类
@Data
@Schema(description = "用户联系信息")
public class ContactInfoRequest {
    
    @NotBlank(message = "姓名不能为空")
    @Schema(description = "联系人姓名", example = "张三")
    private String name;
    
    @NotBlank(message = "手机号不能为空")
    @Schema(description = "联系人手机号", example = "13800138000")
    private String phone;
    
    @Email(message = "邮箱格式不正确")
    @Schema(description = "联系人邮箱", example = "zhangsan@example.com")
    private String email;
    
    @NotBlank(message = "配送地址不能为空")
    @Schema(description = "配送地址")
    private String deliveryAddress;
}